/*
 *  SpaceTrader.h
 *  SpaceTrader
 *
 *  Created by Jake on 10/6/12.
 *  Copyright 2012 __MyCompanyName__. All rights reserved.
 *
 */
#pragma once
#ifndef SPACETRADER_H
#define SPACETRADER_H

#include "SDL/SDL.h"
#ifdef __APPLE__
	#include "SDL_ttf/SDL_ttf.h"
#else	//linux support
	#include "SDL/SDL_ttf.h"
#endif

/** Declare Game Constants **/
const int SCREEN_WIDTH = 640;
const int SCREEN_HEIGHT = 480;
const int SCREEN_BPP = 32;
const int FPS = 20;

//Place all possible states here
enum state_t { TITLE, STATS, COMBAT, PLANET, MAP, MARKET, TRAVEL, COMMONS, SHIPYARD, SAVE, LOAD, LOADDB, QUIT };


//*COUNT are not valid levels for a planet to have. They are only used to find the number of elements in the enum.
enum tech_level_t { PREAGRICULTURE, AGRICULTURE, MEDIEVAL, RENAISSANCE, EARLYINDUSTRY, INDUSTRY, POSTINDUSTRY, HITECH, TECHCOUNT};

enum resources_t { NOSPECIALRESOURCES, MINERALRICH, MINERALPOOR, DESERT, LOTSOFWATER, RICHSOIL, POORSOIL, RICHFAUNA, 
	LIFELESS, EXOTICPLANTS, LOTSOFHERBS, ARTISTIC, WARLIKE, RESOURCESCOUNT};

enum world_event_t { NOEVENT, DROUGHT, COLD, CROPFAIL, WAR, BOREDOM, PLAGUE, LACKOFWORKERS, EVENTCOUNT };

enum trade_good_t { WATER, FURS, FOOD, ORE, GAMES, FIREARMS, MEDICINE, MACHINES, NARCOTICS, ROBOTS, GOODCOUNT };

#endif
